package com.ruoyi.system.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 订单明细对象 order_list
 * 
 * @author ruoyi
 * @date 2022-05-24
 */
@Data
public class OrderList extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Integer id;

    private Integer count; //同类赏数量

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long userId;

    /** 订单号 */
    @Excel(name = "订单号")
    private String orderNum;

    /** 支付运费订单号 */
    @Excel(name = "支付运费订单号")
    private String payNum;

    /** 订单id */
    @Excel(name = "订单id")
    private Long orderId;

    /** 商品id */
    @Excel(name = "商品id")
    private Integer goodslistId;

    /** 商品封面图 */
    @Excel(name = "商品封面图")
    private String imgurl;

    /** 商品价格 */
    @Excel(name = "商品价格")
    private BigDecimal price;

    /** 商品名称 */
    @Excel(name = "商品名称")
    private String title;

    /** 下单数量 */
    @Excel(name = "下单数量")
    private Integer num;

    /** 回收金额 */
    @Excel(name = "回收金额")
    private BigDecimal outPrice;

    /** 1 待选择发货 回收  2 待发货  3 已发货 4 已收货 5已回收 */
    @Excel(name = "1 待选择发货 回收  2 待发货  3 已发货 4 已收货 5已回收")
    private Integer status;

    /** 下单时间 */
    @Excel(name = "下单时间")
    private Integer addtime;

    /** 收货人姓名 */
    @Excel(name = "收货人姓名")
    private String name;

    /** 收货人电话 */
    @Excel(name = "收货人电话")
    private String mobile;

    /** 省 */
    @Excel(name = "省")
    private String province;

    /** 市 */
    @Excel(name = "市")
    private String city;

    /** 县  */
    @Excel(name = "县 ")
    private String county;

    /** 详细地址 */
    @Excel(name = "详细地址")
    private String address;

    /** 快递单号 */
    @Excel(name = "快递单号")
    private String courierNumber;

    /** 快递名称 */
    @Excel(name = "快递名称")
    private String courierName;

    /** 回收时间/发货时间 */
    @Excel(name = "回收时间/发货时间")
    private Long endTime;

    /** 发货批次号 */
    @Excel(name = "发货批次号")
    private String sendNum;

    /** 订单备注 */
    @Excel(name = "订单备注")
    private String message;

    /** 是否出售 1 是 2 否 */
    @Excel(name = "是否出售 1 是 2 否")
    private Integer isSale;

    /** 出售时间 */
    @Excel(name = "出售时间")
    private Long saleTime;

    /** 商品id */
    @Excel(name = "商品id")
    private Long goodsId;

    /** 订单类型 1 下单流程 2 集市获得 3积分兑换 4 积分抽奖 */
    @Excel(name = "订单类型 1 下单流程 2 集市获得 3积分兑换 4 积分抽奖")
    private Integer orderType;

    /** 0其他 1普通抽奖 2first last w 最终 */
    @Excel(name = "0其他 1普通抽奖 2first last w 最终")
    private Integer kjIs;

    /** 0其他 1普通抽奖 2first last w 最终 */
    @Excel(name = "0其他 1普通抽奖 2first last w 最终")
    private Integer jfKjIs;

    /** 抽奖序号 */
    @Excel(name = "抽奖序号")
    private Integer luckNo;

    /** 0否 1是保底 */
    @Excel(name = "0否 1是保底")
    private Integer minType;

    /** 0普通 1无限赏赠送 */
    @Excel(name = "0普通 1无限赏赠送")
    private Integer give;

    /** 1保险柜 */
    @Excel(name = "1保险柜")
    private Integer insurance;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long creator;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createDate;

    private Integer ifCollect;

    private Integer ifAlchemy; //是否具有炼金标识


}
